<div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
{#                    <form role="search" class="navbar-form-custom" method="post" action="#">#}
{#                        <div class="form-group">#}
{#                            <input type="text" placeholder="请输入搜索内容" class="form-control" name="top-search" id="top-search">#}
{#                        </div>#}
{#                    </form>#}
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    欢迎 {{ user  }} 使用堡垒机系统  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    {% if request.user.is_authenticated %}
                    <li><a href="/logout"><i class="fa fa-sign-out"></i> 注销</a></li>
                    {% else %}
                    <li><a href="{% url 'login' %}"><i class="fa fa-sign-in"></i> 登录</a></li>
                    {% endif %}
                </ul>

            </nav>
        </div>